package com.matt.repository.base;


import com.matt.foundation.DO.AdviseDetailDO;
import com.matt.foundation.DO.ChildrenCourseItemDO;

import java.util.List;
import java.util.Map;

/**
 * *******************************
 * Created by Ron.
 * form com.matt
 * on 2017/9/11
 * *******************************
 */
public interface ChildChildrenCourseItemRepository {

    List<ChildrenCourseItemDO> findByChildrenByCoursePlanId(String coursePlanId);

    Long countChildrenByCoursePlanId(String coursePlanId);

    Map<String, Integer>countChildrenByCoursePlanIds(List<String> coursePlanIds);

    List<Object[]> findChildrenCourseNonEvaluateList(String teacherId, Integer itemStatus);

    List<AdviseDetailDO> findAdviseByCoursePlanId(String coursePlanId);

    List<Object[]> findCompletedCourseByChildrenId(String childrenId);
}
